package com.hmdp.utils;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
public class RedisData {

    /**
     *  shop对象
     */
    private Object data;

    /**
     *  过期时间
     */
    private LocalDateTime expireTime;

    //优先用组合，少用继承
}
